<template>
	<view class="content">

		<view style="padding: 20px;">
			<view style="width: 100%;margin-bottom: 20px; display: flex; color: white;">
				<image src="/static/logo.png" style="width: 80px; height: 80px;border-radius: 50%;"></image>
			
				<view style="align-self: center; margin-left: 10px;">
					<view style="font-size: 15px;">游客，您好～</view>
					<view style="margin-top: 10px; font-size: 12px; color: #a6a6a6;">{{title}}</view>
				</view>
			</view>
			
			<uni-list style="width: 100%; ">
			
			
				<uni-list-item class="main_color" title="免责声明" showArrow to="/pages2/statement/statement" clickable></uni-list-item>
			
			</uni-list>
			
			
			<view style="width: 100%; display: flex;justify-content: center; position: absolute;bottom: 0;
			color: #a6a6a6; font-size: 14px;">
				<text style="margin-bottom: 50px;">当前版本：v1.0.0</text>
			</view>
		</view>



	</view>
</template>

<script>
	// let videoAd = null
	export default {


		data() {
			return {
				version: "V1.0.0",
				loading: false,

				list: [
					"永远相信自己，你一定能做到！",
					"坚持不懈，成功必将属于你！",
					"无论遇到什么困难，都要勇敢面对！",
					"坚强的内心才是最好的武器！",
					"用心去做每一件事，一定会有所收获！",
					"相信自己的能力，你一定能超越自己！",
					"每一次努力都是值得的，加油！",
					"不要轻言放弃，坚持下去就会成功！",
					"做最好的自己，别忘了为自己鼓掌！",
					"拥有信心和勇气，你一定能实现梦想！",
					"风雨过后一定会见彩虹，加油！",
					"坚持就是胜利，不要放弃！",
					"你是最棒的，相信自己！",
					"努力奋斗，成功必将属于你！",
					"每一次挑战都是成长的机会，加油！",
					"坚定的信念会让你走得更远！",
					"勇敢追求梦想，不要停止前进！",
					"永远保持热情和坚持，你一定会成功！",
					"你是最棒的，加油！",
					"无论路途多么坎坷，只要坚持走下去，成功就在前方！"
				],
				title: ""
			}
		},
		onLoad() {


		},
		onShow() {

			this.getTitle();

		},
		methods: {
			clearInfo() {


			},
			getTitle() {
				var index = Math.floor(Math.random() * 20);
				console.log(index)
				this.title = this.list[index]
			}
		}
	}
</script>

<style lang="scss">
	.content {
		display: flex;
		flex-direction: column;
		background-color: $uni-main-color;
		width: 100%;
		min-height: 100%;

		.main_color {
			background-color: $uni-main-color;
		}
	}
</style>